Gesture Control For In-Wall Device

ABSTRACT

A method for controlling operation of a power switch includes obtaining, by one or more processors of a power switch, data indicative of one or more non-contact gestures. The method includes determining, by the one or more processors, a control action based at least in part on the data indicative of the one or more non-contact gestures. The method includes implementing, by the one or more processors, the control action.

PRIORITY CLAIM

The present application is based on and claims priority to U.S.Provisional App. No. 62/608,121, titled “Gesture Control for In-WallDevice,” having a filing date of Dec. 20, 2017, which is incorporated byreference herein. The present application is also based on and claimspriority to U.S. Provisional App. No. 62/640,296, titled “GestureControl for In-Wall Device,” having a filing date of Mar. 8, 2018. Inaddition, the present application is based on and claims priority toU.S. Provisional App. No. 62/673,239, titled “Gesture Control forIn-Wall Device,” having a filing date of May 18, 2018.

FIELD

The present disclosure relates generally to in-wall devices, such aspower switch devices.

BACKGROUND

In-wall devices can include devices that can be mounted on or at leastpartially disposed in a wall or other surface (e.g., in a wall mountedelectrical box). Example in-wall devices can include power switches usedto control various powered devices, such as electronics, light sources,appliances, power outlets, and other devices. Power switches can controlpower delivered to a load, for instance, by interrupting a conductordelivering power to a load. Example power switches can include, forinstance, single or multiple on/off toggle switches, paddle or rockerswitches, single or multiple pole dimmer switches, power outlets, etc.

With the advance of Internet of Things (IoT) technology, power switchesand other in-wall devices can communicate with other electronic devicesover one or more communication links. For instance, power switches canbe capable of communicating using communication technologies, such asBluetooth low energy, Bluetooth mesh networking, near-fieldcommunication, Wi-Fi, ZigBee, Ethernet, etc.

SUMMARY

Aspects and advantages of embodiments of the present disclosure will beset forth in part in the following description, or may be learned fromthe description, or may be learned through practice of the embodiments.

One example aspect of the present disclosure is directed to a powerswitch. The power switch includes a housing mountable on or at leastpartially within a surface. The housing includes a front panel. Thepower switch includes an interface element disposed on the front panel.The power switch includes a power interrupter. The power interrupter isoperable to control power deliver to one or more powered loads based, atleast in part, on user interaction with the interface element. The powerswitch includes one or more processors. The one or more processors canbe configured to obtain data indicative of one or more non-contactgestures. The one or more processors can be further configured todetermine a control action based, at least in part, on the dataindicative of the one or more non-contact gestures. The one or moreprocessors can be further configured to implement the control action.

Another example aspect of the present disclosure is directed to a methodfor operating a power switch. The method includes obtaining, by one ormore processors at the power switch, data indicative of one or morenon-contact gestures. The method includes determining, by the one ormore processors, a control action based at least in part on the dataindicative of the one or more non-contact gestures. The method includesimplementing, by the one or more processors, the control action.

Yet another example aspect of the present disclosure is directed to apower switch. The power switch includes a housing mountable on or atleast partially within a surface. The housing includes a front panel.The power switch includes an interface element disposed on the frontpanel. The power switch includes a power interrupter. The powerinterrupter is operable to control power deliver to one or more poweredloads based, at least in part, on user interaction with the interfaceelement. The power switch includes one or more processors. The one ormore processors can be configured to obtain data indicative of presenceof a user in a space associated with the power switch. The one or moreprocessors can be further configured to determine a control actionbased, at least in part, on the data indicative of presence of the user.The one or more processors can be further configured to implement thecontrol action.

These and other features, aspects and advantages of various embodimentswill become better understood with reference to the followingdescription and appended claims. The accompanying drawings, which areincorporated in and constitute a part of this specification, illustrateembodiments of the present disclosure and, together with thedescription, serve to explain the related principles.

BRIEF DESCRIPTION OF THE DRAWINGS

Detailed discussion of embodiments directed to one of ordinary skill inthe art are set forth in the specification, which makes reference to theappended figures, in which:

FIG. 1 depicts a perspective view of an example power switch accordingto example embodiments of the present disclosure;

FIG. 2 depicts a front view of an example power switch according toexample embodiments of the present disclosure;

FIG. 3 depicts an exploded view of an example power switch according toexample embodiments of the present disclosure;

FIG. 4 depicts a first button and second button assembly of a powerswitch according to example embodiments of the present disclosure;

FIG. 5 depicts a front view of an example power switch with a rockerbutton removed according to example embodiments of the presentdisclosure;

FIG. 6 depicts an example sound gap defined between a rocker button anda paddle housing according to example embodiments of the presentdisclosure;

FIG. 7 depicts an example light ring indicator on a rocker buttonaccording to example embodiments of the present disclosure;

FIG. 8 depicts an example night light indicator on a rocker buttonaccording to example embodiments of the present disclosure;

FIG. 9 depicts an example access door for gaining access to program apower switch according to example embodiments of the present disclosure;

FIG. 10 depicts a block diagram of example components of a power switchaccording to example embodiments of the present disclosure;

FIG. 11 depicts an example computing environment used in conjunctionwith a power switch according to example embodiments of the presentdisclosure;

FIG. 12 depicts a flow diagram of an example method according to exampleembodiments of the present disclosure;

FIG. 13A depict an example indicator for display on a power switchaccording to example embodiments of the present disclosure;

FIG. 13B depict an example indicator for display on a power switchaccording to example embodiments of the present disclosure;

FIG. 13C depict an example indicator for display on a power switchaccording to example embodiments of the present disclosure;

FIG. 13D depict an example indicator for display on a power switchaccording to example embodiments of the present disclosure;

FIG. 14 depict an example non-contact hand gesture for controlling apower switch according to example embodiments of the present disclosure;

FIG. 15 depicts an example non-contact hand gesture for controlling apower switch according to example embodiments of the present disclosure;

FIG. 16 depicts an example non-contact hand gesture for controlling apower switch according to example embodiments of the present disclosure;

FIG. 17 depicts a flow diagram of an example method according to exampleembodiments of the present disclosure;

FIG. 18 depicts a flow diagram of an example method according to exampleembodiments of the present disclosure;

FIG. 19 depicts an example lighting system incorporating a plurality ofpower switches according to example embodiments of the presentdisclosure;

FIG. 20 depicts a rear view of an example light blocker according toexample embodiments of the present disclosure; and

FIG. 21 depicts a front view of an example light blocker according toexample embodiments of the present disclosure.

DETAILED DESCRIPTION

Reference now will be made in detail to embodiments, one or moreexamples of which are illustrated in the drawings. Each example isprovided by way of explanation of the embodiments, not limitation of thepresent disclosure. In fact, it will be apparent to those skilled in theart that various modifications and variations can be made to theembodiments without departing from the scope or spirit of the presentdisclosure. For instance, features illustrated or described as part ofone embodiment can be used with another embodiment to yield a stillfurther embodiment. Thus, it is intended that aspects of the presentdisclosure cover such modifications and variations.

Example aspects of the present disclosure are directed to in-walldevices for controlling and/or powering one or more other devices, suchas electrical loads. In some embodiments, the in-wall device can be apower switch, such as a single or multiple on/off toggle switch, paddleor rocker button, single or multiple pole dimmer switch, power outlet,or other device capable of controlling power delivery to one or morepowered loads. For instance, the power switch can be configured tointerrupt electrical power delivery to one or more loads by interruptingor controlling power to a conductor delivering electrical power to theload.

Embodiments of the present disclosure will be discussed with referenceto a power switch for purposes of illustration and discussion. Those ofordinary skill in the art, using the disclosures provided herein, willunderstand that aspects of the present disclosure are applicable inother in-wall devices. As used herein, an “in-wall device” is anelectrical or electronic device that can be mounted on and/or in a wallor other surface, such as a panel, ceiling, floor, or other surface. Insome embodiments, an in-wall device can be mounted in an electrical boxthat is secured on and/or in a wall or other surface.

It should be appreciated that the in-wall device can be mounted in anysuitable type of electrical box. For example, in some implementations,the in-wall device can be mounted in a single gang electrical box. Asanother example, the in-wall device can be mounted in a double gangelectrical box. As yet another example, the in-wall device can bemounted in a triple gang electrical box.

The power switch can be a “smart” device. For instance, the power switchcan include one or more processors and one or memory devices. The one ormore processors can execute computer-readable instructions stored in theone or more memory devices to provide desired functionality. Examplefunctionality can include communicating with other devices over one ormore communication links. For instance, the power switch can communicatewith an electrical load (e.g., a lighting fixture, ceiling fan,appliance, electronic device, electrical outlet, home device, etc.) tocontrol operation of the electrical load. The power switch cancommunicate with one or more other computing devices (e.g., servers,cloud computing devices, user devices such as smartphones, tablets,wearable devices, etc.) to receive data, access processing resources,store data, receive user input or controls, access models, accessservices (e.g., digital audio assistant services), receive softwareupdates or other updates, etc.

Example communication technologies and/or protocols can include, forinstance, Bluetooth low energy, Bluetooth mesh networking, near-fieldcommunication, Thread, TLS (Transport Layer Security), Wi-Fi (e.g.,IEEE, 802.11), Wi-Fi Direct (for peer-to-peer communication), Z-Wave,ZigBee, HaLow, cellular communication, LTE, low-power wide areanetworking, VSAT, Ethernet, MoCA (Multimedia over Coax Alliance), PLC(Power-line communication), DLT (digital line transmission), etc. Othersuitable communication technologies and/or protocols can be used withoutdeviating from the scope of the present disclosure.

According to example embodiments of the present disclosure, the powerswitch can be capable of performing one or more actions based at leastin part on audio data (e.g., voice commands) received at the powerswitch. For instance, the power switch can include at least onemicrophone configured to obtain an audio input. The audio input can be,for instance, a voice command received from a user. Responsive to theaudio input, the power switch can be configured to take one or moreactions. For instance, one or more processors located in the powerswitch can perform audio processing on the audio input to recognizevoice commands and control the power switch to take one or more actions.In addition, and/or in the alternative, the audio input can becommunicated to one or more other devices (e.g., cloud computingdevices) for audio processing to recognize voice commands.

In some embodiments, responsive to the audio input, the power switch canbe configured to take actions associated with controlling and/orproviding power to one or more devices powered by the in-wall device. Asan example, a power switch can be configured to control power deliveryor otherwise provide control signals to a powered device, such as one ormore lighting fixtures, appliances, electronic devices, user devices,etc., in response to audio commands received as audio input at the powerswitch.

In some embodiments, the audio input can be used to take actionsancillary to operation of the power switch or loads powered by the powerswitch. For instance, the audio input can be communicated to one or moredevices for implementation of a digital audio assistant service. Thedigital audio assistant service can process the audio input to identifyone or more voice commands and take action responsive to the searchcommands. As an example, the digital audio assistance can access searchresults, conduct online shopping, play music, setappointments/reminders, perform tasks, control networked devices, etc.

In some embodiments, the audio input can be processed (e.g., usingclassifier models, such as machine learned models) to recognize certainsounds. For instance, the audio input can be processed to recognizesounds associated with, for instance, a smoke alarm, an environmentalsensor alarm, breaking glass, etc. The power switch can be configured totake appropriate action in response to the sound. For instance, thepower switch can provide an audio output alerting a user of a hazardcondition. The power switch can communicate data associated with thehazard condition to a monitoring service and/or to a user so that anappropriate response can be implemented. The power switch can controlone or more powered loads in response to a hazard condition, such asilluminating a space, turning power off to one or more appliances, etc.

The power switch can include an audio output device (e.g., a speaker)for providing audio output responsive to the audio input. In someembodiments, the audio output device can be a 20 millimeter (mm)speaker. The audio output can be a response to one or more audiocommands received as audio input by one or more microphones located onthe in-wall device. The audio output device can also be used, forinstance, to play music or to play sounds associated with a connectedmedia device (e.g., a television).

In some embodiments, a user can interface with a power switch via a userdevice connected to the power switch via a communication link. Forinstance, a user can access an application implemented on a user device(e.g., a smartphone, tablet, laptop, wearable device, display with oneor more processors, etc.). The application can present a graphical userinterface or other user interface (e.g., audio interface) to a user. Auser can interact with the graphical user interface to control settingsand/or operation of the power switch. Signals associated with the userinteraction can be communicated to the power switch, for instance, overa network to control and/or adjust settings of the power switch. Inaddition, and/or in the alternative, data collected by the power switch(e.g., one or more sensors, power meters, etc., associated with thepower switch) can be communicated to the user device for presentation tothe user.

In some example embodiments, the power switch can include a housingmountable on or at least partially within a surface, such as a wall,panel, ceiling, floor, or other surface. The housing can include a frontpanel. At least a portion of the front panel can be visible to a userwhen the power switch is installed on the surface.

The power switch can include an interface element disposed on the frontpanel. The interface element can be operable to receive a user input tocontrol operability of the power switch. For instance, in someembodiments, the interface element can be a rocker button or switch.When the rocker button is depressed in a first direction, the powerswitch can be controlled to deliver power to a powered load. When therocker button is depressed in a second direction, the power switch canbe controlled to turn off power to the powered load. In this way, a usercan interact with the interface element to control power delivery to oneor more powered loads. Other suitable interface elements can be usedwithout deviating from the scope of the present disclosure, such astoggle switches, dimmer knobs, sliders, touch screens, touch pads, etc.

In some embodiments, the rocker button can include one or morecapacitive touch sensors or other touch sensors. This can allow a userto interact with the rocker button without having to mechanicallymanipulate the rocker button. For instance, a user can control the powerswitch to turn on or turn off power to a powered device by performing afinger swipe on a surface of the rocker button. As an example, avertical swipe can be used to toggle power on and off to one or morepowered devices. A horizontal swipe can be used to change an operatingmode of the power switch (e.g., from a passive listening mode to anactive listening mode). A circular swipe (e.g., clockwise and/orcounterclockwise) can be used, for instance, to control dimming of oneor more light sources powered by the power switch.

The power switch can include a power interrupter operable to controlpower delivery to the powered load based at least in part on userinteraction with the interface element. The power interrupter can be anysuitable device configured to interrupt and/or un-interrupt power to apowered load. For instance, in some embodiments, the power interruptercan be a thyristor (e.g., TRIAC device), semiconductor switching element(e.g., transistor), relay, contactor, etc., that is controlled toprovide power or to not provide power to a powered load. The powerinterrupter can be controlled based at least in part on user interactionwith the interface element. The power interrupter can also be controlledbased on signals received at the power switch over, for instance, acommunications interface (e.g., in response to signals received over anetwork from a user device such as a smartphone, tablet, wearabledevice, laptop, or other device).

The power switch can include one or more microphones configured toobtain an audio input. For instance, the power switch can include afirst microphone and a second microphone. The power switch can includean audio output device, such as a speaker. The first microphone, secondmicrophone, and speaker can be arranged in the power switch to provideenhanced audio performance of the power switch.

For instance, in some embodiments, the front panel of the power switchcan include a front panel having a rocker button. The speaker can belocated behind the rocker button. Locating the speaker behind the rockerbutton can allow for sound emanating from the speaker to be amplified,reducing the need for a large speaker. In this way, a smaller speakercan be used while maintaining a loud, full sound typically availablefrom larger speakers. A sound gap can be incorporated around the sidesof the rocker button to allow sound to escape from the power switchwhile hiding the appearance of the speaker from the front of the powerswitch.

The front panel can further include a first button and a second buttonlocated beneath the rocker button in a vertical direction. In someembodiments, a Fresnel lens can be disposed between the first button andthe second button. The first button can be used, for instance, to pairthe power switch with one or more powered loads over a communicationlink (e.g., Bluetooth low energy, etc.). The second button can be usedas an airgap switch. One or more sensors (e.g., a passive infraredsensor, ambient light sensor, etc.) can be located behind the Fresnellens.

The first microphone can be disposed in the first switch. The secondmicrophone can be disposed in the second switch. In this way, thepositioning of the first microphone and the second microphone can beused, for instance, for beam sweeping to determine the originatinglocation of sounds in a space. Moreover, the location of the firstmicrophone and the second microphone can be positioned away from thespeaker so that there is less sound from the speaker projected into themicrophones. More particularly, the first microphone and the secondmicrophone can be located in the bottom left-hand and right-hand cornersof the power switch, respectively, creating a large separation from thespeaker located near the top of the power switch. This can provide forefficient operation of audio echo cancellation using the microphones. Insome embodiments, a sound deflector can be positioned relative to thespeaker to deflect sound away from the microphones to increaseperformance (e.g., to increase the capability for audio cancellation).

In some embodiments, the power switch can include one or moreindicators, such as a light ring and/or a light bar. For instance, thepower switch can include a ring of light emitting diodes (LEDs) or otherlight sources positioned behind a rocker button. The rocker button canbe made from a plastic material that acts as a light pipe and a lightdiffuser for light emitted from the ring of LEDs so that a light ring isdepicted on the rocker button.

In some embodiments, the light ring can be controlled in response tovarious actions, such as responsive to voice commands. For instance, insome embodiments, the light ring can be controlled to be displayed inresponse to a voice command received via the one or more microphones.Once the voice command is completed, the light ring can be turned off orno longer illuminated. In some embodiments, various different animationsequences can be displayed in response detection of different voicecommands or other user input. For instance, a circular animationconfigured to mimic a spinning circle can be displayed in response todetection of a voice command.

In some embodiments, a night light (e.g., a light bar) can be disposedon the front of the rocker button. The night light can provide ambientlighting at night, allowing a user to easily locate the power switch inthe dark. The color and/or brightness of the night light can bespecified as part of settings associated with the power switch (e.g.,via an application implemented on a user device). In some embodiments,the night light can be disposed in the center of the light ring.

The power switch can have various other features to enhance thefunctionality of the device. For instance, in some embodiments, thepower switch can have power metering incorporated into the power switch.Power metering can be implemented, for instance, by measuring voltageand/or current flowing through a load wire passing through the powerswitch. Current can be measured, for instance, using a sense resistor.Voltage can be measured using, for instance, a voltage divider. Powerflowing through the load wire can be computed (e.g., using one or moreprocessors located on the power switch and/or remote from the powerswitch) based on the measured current and voltage.

The information from power metering can be used for a variety ofpurposes. For example, in some embodiments, data indicative of powerconsumption can be communicated to a user device (e.g., over a network)to provide feedback (e.g., real-time feedback) of power consumption byone or more powered loads powered by the power switch to the user. Asanother example, in some embodiments, the power switch and/or a devicein communication with the power switch can process data indicative ofpower consumption to detect when power delivered to a powered loadexceeds a power rating associated with the powered load. The powerswitch can be configured to automatically reduce power delivered to thepowered load to a safe level. In addition, an alert can be communicatedto a user.

As used herein, an “alert” provided by the power switch can be an audioalert, visual alert, electronic data communication, display on a userinterface associated with a device in communication with the powerswitch, etc. For instance, an audio alert can be provided via thespeaker in the power switch. A visual alert can be provided via one ormore indicators (e.g., light ring, night light, etc.). A visual alertcan also be provided by controlling one or more lighting devices poweredby the power switch. An alert can be provided by communicating data fromthe power switch to another device over a communication link. Forinstance, data associated with an alert can be communicated to a userdevice. The user device can then provide an audio alert, visual alert(e.g., via a graphical user interface), haptic alert, etc.

In some embodiments, the power switch can include a near fieldcommunication (NFC) tag. The near field communication tag can allow forpairing of the power switch with another device (e.g., a user device)for communication without the need, for instance, for a pairing code.The NFC tag can be located, for instance, behind the rocker buttonallowing it to be positioned at the front of the power switch. This canallow for the NFC tag to be interfaced with by a NFC compatible userdevice.

In some embodiments, the power switch can include an ambient lightsensor. Signals from the ambient light sensor can be used, for instance,to implement control actions (e.g., control of power delivery to one ormore powered loads) based on the ambient lighting in a space. In someembodiments, the ambient light sensor can be located, for instance,behind a Fresnel lens.

In some embodiments, the power switch can include a passive infrared(PIR) sensor. The PIR sensor can be located, for instance, behind aFresnel lens disposed on the front of the power switch. The PIR sensorcan be used, for instance, to detect motion in vertical and/orhorizontal directions. This can be used for gesture based control of thepower switch.

In some embodiments, gesture control can allow a user to operate thepower switch without having to physically touch the power switch. As anexample, a user can turn the power switch on to deliver power to apowered load by moving their hand from the bottom of the power switch ina vertical direction toward the top of the powered switch. The user canturn the power switch off to interrupt power to a powered load by movingtheir hand from the top of the power switch in a vertical directiontoward the bottom of the power switch. Dimming of the powered switch canbe accomplished, for instance, by spinning fingers in a clockwise orcounterclockwise direction in front of the power switch. Other suitablenon-touch gestures can be used without deviating from the scope of thepresent disclosure.

In some embodiments, the one or more processors can obtain dataindicative of an active listening mode trigger condition. For instance,the data can be obtained via the one or more microphones of the powerswitch. Alternatively or additionally, the data can be obtained via thepassive infrared (PIR) sensor. In this manner, the data indicative ofthe active listening mode trigger condition can include audio inputreceived via the one or more speakers and/or hand gesture data obtainedvia the PIR sensor. In response to detecting the active listening modetrigger condition, the one or more processors can be configured tochange an operating mode of the power switch from a passive listeningmode to an active listening mode. When the power switch is operating inthe active listening mode, the one or more microphones of the powerswitch can be activated to detect one or more voice commands provided bya user.

With reference now to the FIGS., example embodiments of the presentdisclosure will now be set forth. FIGS. 1-3 depict an example powerswitch 100 according to example embodiments of the present disclosure.FIG. 1 depicts a perspective view of the power switch 100. FIG. 2depicts a front view of the power switch 100. FIG. 3 depicts an explodedview of the power switch 100.

The power switch 100 can be an in-wall device mountable on or at leastpartially within a surface, such as a wall, floor, panel, ceiling, orother surface. The power switch 100 includes a housing 102. The housing102 houses and/or includes one or more components of the power switch100. The housing 102 can include a front panel 105 and a frame 106. Thefront panel 105 can be a visible portion of the power switch 100 wheninstalled on or at least partially within a surface. The frame 106 canhouse various components of the power switch 100, such as one or morecircuit boards 150, 160 having electronic components associated with thepower switch 100.

One or more of the circuit boards 150 and 160 can include variouselectronic components associated with the power switch 100, such as oneor more processors, one or more memory devices, one or more circuits forwireless communication, and other components. Example electroniccomponents associated with the power switch 100 will be discussed withreference to FIG. 10.

Referring still to FIGS. 1-3, the power switch 100 can receiveconductors 202, 204, and 206 for delivery of power to one or morepowered loads. For instance, power can be delivered from a power source(e.g., breaker, panel, etc.) to the power switch 100 via conductors 204and 206. In some embodiments, conductor 204 can be a hot conductor.Conductor 206 can be a neutral conductor. Conductor 202 can be a loadconductor (e.g., load wire) used to deliver power to one or more poweredloads (e.g., lighting fixtures, electronic devices, powered outlets,appliances, machinery, etc.).

The power switch 100 can control delivery of power to one or morepowered loads via conductor 202 via a power interrupter. The powerinterrupter controls whether power is delivered via conductor 202. Inthe example embodiment of the power switch 100 shown in FIGS. 1-3, thepower interrupter is a thyristor 155 (e.g., a TRIAC). When the thyristor155 is in a first state, power is conducted to the one or more poweredloads via conductor 202. When the thyristor 155 is in a second state,power is not conducted to the one or more powered loads via conductor202.

Aspects of the present disclosure are discussed with reference to athyristor power interrupter for purposes of illustration and discussion.Other suitable devices and/or components can be used to control powerdelivery via conductor 202 without deviating from the scope of thepresent disclosure, such as power semiconductors, relays, contactors,mechanical switches, etc.

The state of the thyristor 155 can be controlled based on variousinputs. For instance, the state of the thyristor 155 can be controlledbased on a user input received at an interface element, such as rockerbutton or switch 110 of the power switch 100. The state of the thyristor155 can also be controlled based on signals received from other devices(e.g., user devices such as a smartphone, tablet, wearable device,laptop, display with one or more processors) received over acommunication link.

For instance, referring still to FIGS. 1-3, the front panel 105 caninclude a rocker button 110, paddle housing 108, and heat sink 112. Therocker button 110 can be received into the paddle housing 108. Therocker button 110 can be rotatable about an axis passing through thecenter of the rocker button 110 so that the rocker button 110 can berotated in a first direction when the user presses a top portion of therocker button 110 and can be rotated in a second direction when the userpresses a bottom portion of the rocker button 110.

The rocker button 110 can interface with rocker plungers 114. Rockerplungers 114 can pass through apertures 109 defined in the paddlehousing 108 and apertures 113 defined in the heat sink 112. The rockerplungers 114 can engage actuators 116 located on circuit board 150. Theactuators 116 can provide signals for the control of thyristor 155 basedon user input via the rocker button 110. For instance, when a userpresses the rocker button 110 to rotate the rocker button 110 in a firstdirection, the thyristor 155 can be controlled to be in a first state toallow the delivery of power via conductor 202 to one or more poweredloads. When a user presses the rocker button 110 to rotate the rockerbutton 110 in a second direction, the thyristor 155 can be controlled tobe in a second state to stop the delivery of power via conductor 202 toone or more powered loads.

As shown in FIGS. 1-3, the front panel 105 can further include a firstbutton 122 and a second button 124. A Fresnel lens 126 can be disposedbetween the first button 122 and the second button 124. A user caninteract with the first button 122 and the second button 124 to controlvarious operations of the power switch 100.

In some embodiments, the first button 122 can be a pairing button. Moreparticularly, a user can interact with the first button 122 (e.g.,depress and/or pull out the first button 122) to initiate a pairingsequence with another device, such as a powered load, another powerswitch, or a user device. A pairing sequence is used to enablecommunication between the power switch 100 and another device. Forinstance, the pairing sequence can be used to allow for communicationbetween the power switch 100 and another device using a direct peer topeer communication protocol. Any of a number of suitable interactions(e.g., sequence of user interactions) via the first button can be usedto initiate a pairing sequence without deviating from the scope of thepresent disclosure.

In some embodiments, the second button 124 can be an air gap switch.User interaction with the air gap switch can be used to remove powerfrom the power switch 100 and/or the one or more powered loads. In someembodiments, the user can interact with the second button 124 by pullingthe second button 124 away from the front panel 105. The second button124 can be associated with a long plunger arm such that when the secondbutton 124 is pulled away from the front panel 105, power to the powerswitch 100 and one or more connected loads is removed. In someembodiments, the user can interact with the second button 124 by pushingthe second button 124 towards the front panel 105. For example, the usercan push the second button 124 towards the front panel 105 to performone or more functions. As one example, the one or more functions caninclude activating the digital voice assistant service.

FIG. 4 depicts a perspective view of an example assembly including afirst button 122 and second button 124 according to example embodimentsof the present disclosure. As shown, the first button 122 and the secondbutton 124 can be coupled to a single flex board 125. The single flexboard 125 can be connected to the printed circuit board 150 (shown inFIG. 3) using a single connection point, reducing complexity of thepower switch 100.

Referring now to FIGS. 1-4, the power switch 100 can include a firstmicrophone 142 and a second microphone 144. The first microphone 142 canbe disposed in the first button 122. The second microphone 144 can bedisposed in the second button 124. The first microphone 142 can besealed in plastic. The first microphone 142 can be coupled to a printedcircuit board 150 using a flexible printed circuit (FPC) cable thatallows the first button 122 to be pressed up and down while stillmaintaining a connection to printed circuit board 150. The secondmicrophone 144 can be coupled to a printed circuit board 150 using aflexible printed circuit (FPC) cable that allows the second button 124to be pressed up and down while still maintaining a connection toprinted circuit board 150.

Audio data received at the first microphone 142 and/or the secondmicrophone 144 can be communicated to one or more processors (e.g., onthe power switch 100 and/or remote from the power switch 100). The audiodata can be processed to provide audio responsive functionality asdescribed in more detail below.

In some embodiments, the first microphone 142 and/or the secondmicrophone 144 can each be covered with a film. More specifically, thefilm can be comprised of a water-resistant material. In this manner, thefilm can prevent moisture from getting through to the microphones 142,144.

FIG. 5 depicts the example power switch 100 of FIGS. 1-3 with the rockerbutton 110 removed. As shown, the power switch 100 includes an antenna175. The antenna 175 can be used for wireless transmitting and receivingdata and other signals over one or more communication links. The antenna175 is positioned behind the rocker button 110 to provide for increasedcommunication capability. This can be important when the power switch100 is installed in a metal electrical box (e.g., single gang, doublegang, triple gang, etc.). Locating the antenna 175 as far forward aspossible can allow the antenna 175 to remain outside of the metalelectrical box. In this manner, a reduction in signal strength can beprevented.

In some embodiments, the antenna 175 can be a multiband antenna capableof transmitting and/or receiving information over multiple frequencybands so that data and other signals can be communicated to otherdevices using different protocols and/or communication channels. Forinstance, the antenna 175 can be configured for communication over botha Wi-Fi band (e.g., about 2.4 GHz) and a Bluetooth band (e.g., about 5GHz). As used herein, the use of the term “about” in conjunction with anumerical value is intended to refer to within 20% of the stated amount.

Referring still to FIG. 5, the power switch 100 can include an audiooutput device, such as speaker 130. The speaker 130 can be circular inshape. The speaker 130 can be disposed behind the rocker button 110. Thespeaker 130 can be accommodated in a recess defined in the paddlehousing 108. The speaker 130 can be configured to provide audio outputas will be described in more detail below. In some embodiments, thespeaker 130 can include a ported speaker box. In some embodiments, thespeaker 130 can include a sealed cavity speaker box. In someembodiments, the speaker 130 can be a 20 mm speaker.

In some embodiments, the power switch 100 can include a sound deflector135. The sound deflector 135 can deflect sound emanating from thespeaker 130 away from the first microphone 142 and the second microphone144. The sound deflector 135 can be disposed around a bottom portion ofthe speaker 130. The sound deflector 135 can reduce the amount of soundthat is projected downwards toward the first microphone 142 and thesecond microphone 144. This can increase the performance of audio echocancellation.

As shown in FIG. 6, in some embodiments, a gap can be defined betweenthe interface element (e.g., rocker button 110) and the paddle housing108 in the front panel 105 of the power switch 100. For instance, FIG. 6depicts a close up of a portion 213 of the power switch 100 shown inFIG. 1. As shown, a gap 134 is defined around at least a portion of theedge of the rocker button 110 and the paddle housing 108. The gap 134can be a “sound gap” that allows sound to emanate from the speaker 130behind the rocker button 110.

Referring again to FIG. 5, the power switch 100 can include an LED board170. The LED board 170 can include a plurality of LEDs for providingindicators via the rocker button 110. More particularly, the rockerbutton 110 can be made from a material such that the rocker button 110diffusely transmits light emitted from the plurality of LEDs to thefront of the rocker button 110 to provide one or more indicators. Forinstance, the rocker button 110 can be formed from a plastic materialthat can act as both a light pipe and a light diffuser. In someembodiments, a light blocking housing can extend from the LED board 170to the rocker button 110 to prevent light bleeding.

Referring particularly to FIG. 5, the LED board 170 can include an LEDring 172 having a plurality of LEDs arranged in a ring. The LED ring 172can be used to provide a light ring indicator. The LED board 170 canalso include LEDs 174 in a center portion of the LED board 170 withinthe LED ring 172 that can be used to function as a night lightindicator.

FIG. 7 depicts a front view of an example power switch with a light ringindicator 210 illuminated on the rocker button 110 according to exampleembodiments of the present disclosure. The light ring indicator 210 canbe displayed in response to one or more voice commands received at thepower switch 100. For instance, the light ring indicator 210 can be usedin conjunction with implementation of a digital voice assistant service.

As an example, the light ring indicator 210 can be displayed when avoice command is detected. Various animations can be implemented usingthe light ring indicator 210 in response to the voice command. Forinstance, during completion of the voice command, the light ringindicator 210 can be controlled to provide a rotating ring animation.Once the voice command is completed, the light ring indicator 210 can beturned off. When the light ring indicator 210 is turned off, the lightring indicator 210 is invisible.

In some embodiments, the light ring indicator 210 can be displayed whena user is in proximity to the power switch 100 as detected by one ormore sensors (e.g., a PIR sensor). The presence of the light ringindicator 210 can provide an indication that the power switch 100 isready to receive and respond to a voice command from the user. Othersuitable configurations of an indicator can be used without deviatingfrom the scope of the present disclosure.

FIG. 8 depicts a front view of an example power switch with a nightlight indicator 220 illuminated on the rocker button 110 according toexample embodiments of the present disclosure. The night light indicator220 is illustrated as a horizontal bar. However, other suitableconfigurations of the night light indicator 220 can be used withoutdeviating from the scope of the present disclosure.

The night light indicator 220 can be normally on, allowing for ambientlighting. In some embodiments, the night light indicator 220 can beilluminated when an ambient light sensor (e.g., located behind Fresnellens 126) determines that light in a space has fallen below a threshold.In this way, the night light indicator 220 can help a user easily locatethe power switch 100 in reduced lighting.

Referring again to FIGS. 1-3, the power switch 100 can include one ormore sensors located behind the Fresnel lens 126. For instance, thepower switch 100 can include a passive infrared (PIR) sensor 180. ThePIR sensor 180 can be coupled to the printed circuit board 150. A PIRcover 182 can be disposed over the PIR sensor 180. The PIR sensor 180can be used, for instance, to detect motion in a vertical and/orhorizontal direction.

In some embodiments, the PIR sensor 180 can be used to detectcontactless user gestures in front of the power switch 100 to allow auser to operate the power switch 100 without contacting the power switch100. Example hand gestures can include vertical swipes in front of thepower switch 100. An upward vertical swipe can be used to place thepower switch 100 in a first state to allow the delivery of power to oneor more powered loads. A downward vertical swipe can be used to placethe power switch 100 in a second state to stop the delivery of power toone or more powered loads. Circular hand gestures in a clockwise and/orcounterclockwise direction can be used to control dimming of, forinstance, one or more light sources powered by the power switch 100.Other example hand gestures can be used to generate actions for thepower switch 100. In addition, other sensors, such as capacitivesensors, can be used to detect hand gestures without deviating from thescope of the present disclosure.

The power switch 100 can further include an ambient light sensor (notillustrated) disposed behind the Fresnel lens 126. The ambient lightsensor can be used to detect ambient lighting in a space. Signalsindicative of ambient lighting can be used by the power switch 100 for avariety of purposes. For instance, the power switch 100 can illuminate anight light indicator when ambient light drops below a threshold. Thepower switch 100 can automatically turn on or turn off a light sourcepowered by the power switch 100 based on the detected ambient light. Thepower switch 100 can be placed into one or modes of operation (e.g., alistening mode) based at least in part on the detected ambient light.

FIG. 9 depicts a side view of an example power switch 100 according toexample embodiments of the present disclosure. As illustrated in FIG. 9,the frame 106 of the power switch 100 can include an access door 190.The access door 190 can allow for access to a programming header on aprinted circuit board disposed within the frame 106. A user can pluginto the programming header to program the power switch 100 and/orotherwise modify software, firmware, or other computer-readableinstruction executed by one or more processors on the power switch 100.In this way, the access door 190 can allow for easy access fortechnicians to program the power switch 100 without disassembly. In someembodiments, a tamper resistant sticker can be placed over the door tohide appearance of the access door 190. A torn sticker can be indicativeof unauthorized access to the power switch 100 via the access door 190.In some embodiments, the frame 106 can includes a series of holes thatare configured to accommodate access for a programming header forprogramming the power switch 100

FIG. 10 depicts a block diagram of an example control system 200 of anexample power switch 100 according to example embodiments of the presentdisclosure. The control system includes one or more processors 240 andone or more memory devices 260. For instance, the one or more processors240 can include dual (e.g., two) processors. Alternatively, the one ormore processors 240 can include quad (e.g., four) processors.

The one or more processors 240 can be any suitable processing device,such as microprocessors, integrated circuits (e.g., application specificintegrated circuits), field programmable gate arrays, etc. that performoperations to control components (e.g., any of the components describedherein). The one or memory devices 260 can be any suitable media forstoring computer-readable instructions and data. For instance, the oneor more memory devices 260 can include random access memory such asdynamic random access memory (DRAM), static memory (SRAM) or othervolatile memory. In addition, and/or in the alternative, the one or morememory devices can include non-volatile memory, such as ROM, PROM,EEPROM, flash memory, optical storage, magnetic storage, etc.

The one or more memory devices 260 can store computer-readableinstructions that, when executed by the one or more processors 240,cause the one or more processors 240 to perform operations, such as anyof the operations described herein (e.g., the methods discussed in FIGS.12 and 13). The instructions can be software written in any suitableprogramming language or can be implemented in hardware.

The one or more memory devices 260 can also store data that can beobtained, received, accessed, written, manipulated, created, and/orstored. As an example, the one or more memory devices 260 can store dataassociated with one or more classifier models (e.g., machine learnedclassifier models) that can be used to classify audio data received atthe power switch 100 as one or more sounds (e.g., smoke alarm, breakingglass, etc.). Storing the classifier model(s) locally in the one or morememory devices 260 can allow for local processing of audio data toidentify potential out of band conditions.

Referring still to FIG. 10, the one or more processors 240 can be incommunication with and/or can be configured to control operation ofaudio circuitry 230. The audio circuitry 230 can be configured toreceive and process audio data received from, for instance, firstmicrophone 142 and second microphone 144. The audio circuitry 230 canalso provide audio output for speaker 130. In some embodiments, theaudio circuitry 230 can include one or more of a digital signalprocessor (DSP), codec, amplifier, etc. For instance, the audiocircuitry 230 can be a low power smart Codec with dual core audio DSP.In some embodiments, the audio circuitry 230 can include a CS47L24 SmartCodec with Dual Core DSP manufactured by Cirrus Logic.

In some embodiments, the one or more processors 240 can be incommunication with and/or can be configured to control operation of amicrocontroller 280. The microcontroller 280 can be configured tocontrol the TRIAC 155 and/or provide signals to processor(s) 240 forcontrol of components based on inputs received via interface elements onthe power switch 100, such as the rocker button 110, the first button122, the second button 124, or other interface elements. Themicrocontroller 280 can also receive signals from PIR sensor 180. Thesignals from the PIR sensor 180 can be processed for gesture basedcontrol (e.g., non-contact gesture based control) of the power switch100. In some embodiments, the microcontroller 280 can be a STM32F031G4U6Microcontroller manufactured by STMicroelectronics.

The one or more processors 240 can be in communication with and/or canbe configured to control operation of a power meter 244. The power meter244 can measure voltage and/or current flowing through a load wirepassing through the power switch 100. Current can be measured, forinstance, using a sense resistor. Voltage can be measured using, forinstance, a voltage divider. Power flowing through the load wire can becomputed (e.g., using one or more processors 240 located on the powerswitch 100 and/or remote from the power switch 100) based on themeasured current and voltage. In some embodiments, the power meter canbe a STPM32 metering circuitry manufactured by STMicroelectronics.

The one or more processors 240 can be in communication with an ambientlight sensor 242. Signals from the ambient light sensor 242 can be used,for instance, by the processor(s) 240 to implement control actions(e.g., control of power delivery to one or more powered loads) based onthe ambient lighting in a space. In some embodiments, the ambient lightsensor 242 can be a LTR-329ALS-01 digital light sensor manufactured byMouser Electronics

The one or more processors 240 can be in communication with an LEDdriver circuit 270 and a LED board 170 to control operation of anindicator for the power switch 100. The LED driver circuit 270 canprovide power to the LED board 170 for driving the plurality of LEDs.The one or more processors 240 can control emission of light from one ormore LEDs on the LED board 170 to provide various indicators (e.g.,light ring, night light, etc.) as described herein. In some embodiments,the LED driver circuit 270 can be a IS31FL3235 LED driver manufacturedby Integrated Silicon Solution, Inc.

The one or more processors 240 can be in communication with acommunication interface 272. The communication interface 272 can allowfor the communication of data via, for instance, one or more wirelesslinks using the antenna 175. The communication interface 272 can includeany circuits, components, software, etc. for communicating over variouscommunication links (e.g., networks). In some implementations, thecommunication interface 272 can include for example, one or more of acommunications controller, receiver, transceiver, transmitter, port,conductors, software, and/or hardware for communicating data. In someembodiments, the communication interface 272 can include a SX-SDPACmodule manufactured by Silex Technology.

Example communication technologies and/or protocols can include, forinstance, Bluetooth low energy, Bluetooth mesh networking, near-fieldcommunication, Thread, TLS (Transport Layer Security), Wi-Fi (e.g.,IEEE, 802.11), Wi-Fi Direct (for peer-to-peer communication), Z-Wave,ZigBee, HaLow, cellular communication, LTE, low-power wide areanetworking, VSAT, Ethernet, MoCA (Multimedia over Coax Alliance), PLC(Power-line communication), DLT (digital line transmission), etc. Othersuitable communication technologies and/or protocols can be used withoutdeviating from the scope of the present disclosure.

FIG. 11 depicts an example computing environment 300 in which the powerswitch 100 can be integrated according to example embodiments of thepresent disclosure. As shown, the power switch 100 can be incommunication with various devices, such as powered load 310 and/or oneor more user devices 320, 360. The powered load 310 can be any devicepowered by the power switch 100, such as one or more lighting fixture orother light sources, appliances, electronics, consumer devices, ceilingfans, machinery, systems, or other powered loads. User devices 320, 360can be, for instance, one or more smartphones, laptops, desktops,tablets, wearable devices, media devices, displays with one or moreprocessors, or other suitable devices.

The power switch 100 can be in communication with the powered load 310,for instance, via a direct communication link (e.g., direct wired orwireless communication link) or via a network, such as local areanetwork 340. The direct communication link can be implemented, forinstance, using Bluetooth low energy or other suitable communicationprotocol. The power switch 100 can control delivery of power to thepowered load 310 via a load conductor. In some embodiments, the powerswitch 100 can provide control signals to control operation of thepowered load (e.g., fan speed, dimming level, etc.) via the directcommunication link.

The power switch 100 can be in communication with user devices 320, 360for instance, via a direct communication link (e.g., direct wired orwireless communication link) or via a network, such as local areanetwork 340. The direct communication link can be implemented, forinstance, using Bluetooth low energy or other suitable communicationprotocol. In some embodiments, a user can control, view information,and/or specify one or more settings associated with the power switch 100via a graphical user interface implemented on a display of the userdevice 320, 360. For instance, a user can access an applicationimplemented on the user device 320. The application can present agraphical user interface on a display of the user device 320. A user caninteract with the graphical user interface to control operation of thepower switch 100 and/or one or more powered loads 310.

The local area network 340 can be any suitable type of network orcombination of networks that allows for communication between devices.In some embodiments, the network(s) can include one or more of a securenetwork, Wi-Fi network, IoT network, mesh network, one or morepeer-to-peer communication links, and/or some combination thereof, andcan include any number of wired or wireless links. Communication overthe network 340 can be accomplished, for instance, via a communicationinterface using any type of protocol, protection scheme, encoding,format, packaging, etc.

The computing environment 300 can include a gateway 355 that can allowaccess to a wide area network 350. The wide area network 350 can be, forinstance, the Internet, cellular network, or other network, and caninclude any number of wired or wireless links. Communication over thewide area network 350 can be accomplished, for instance, via acommunication interface using any type of protocol, protection scheme,encoding, format, packaging, etc. As shown, the power switch 100 cancommunicate information over the network 350 to remote computing systems380 and 390 and other remote computing systems via the gateway 355.

The computing environment 300 can include remote computing systems 380.The remote computing systems 380 can be associated with a cloudcomputing platform for implementation of one or more services for thepower switch 100. Data collected by the cloud computing platform can beprocessed and stored and provided, for instance, to a user device 320(e.g., for presentation in a graphical user interface).

The computing environment 300 can include remote computing systems 390.The remote computing systems 390 can be associated with a serviceaccessed by the power switch 100, such as a digital audio assistantservice. Audio data collected by the power switch 100 can becommunicated to the remote computing systems 390 for processing of voicecommands. Data responsive to the voice commands can be communicated tothe power switch 100 for output (e.g., by speaker 130) and/or to userdevice 320 (e.g., for display in a graphical user interface). In thisway, the power switch 100 can act as a source for voice commands fordigital voice assistant services.

The remote computing systems 380 and 390 can include one or morecomputing devices (e.g., servers) having one or more processors and oneor more memory devices. The computing systems 380 and 390 can bedistributed such that its components are located in different geographicareas. The technology discussed herein makes reference to computer-basedsystems and actions taken by and information sent to and fromcomputer-based systems. One of ordinary skill in the art will recognizethat the inherent flexibility of computer-based systems allows for agreat variety of possible configurations, combinations, and divisions oftasks and functionality between and among components. For instance,processes discussed herein may be implemented using a single computingdevice or multiple computing devices working in combination. Databases,memory, instructions, and applications may be implemented on a singlesystem or distributed across multiple systems. Distributed componentsmay operate sequentially or in parallel.

FIG. 12 depicts a flow diagram of an example method 400 for controllinga power switch according to example embodiments of the presentdisclosure. The method 400 can be implemented, for instance, using powerswitch 100 and/or one or more aspects of the computing environment 300of FIG. 11. FIG. 12 depicts steps performed in a particular order forpurposes of illustration and discussion. Those of ordinary skill in theart, using the disclosure provided herein, will understand that varioussteps of any of the methods described herein can be omitted, expanded toinclude other steps, performed simultaneously, rearranged, and/ormodified in various ways without deviating from the scope of the presentdisclosure.

At (402), the method 400 can include obtaining data associated with anon-contact gesture. The data associated with a non-contact gesture caninclude, for instance, signals from a motion sensor, such as a PIRsensor. As one example, a PIR sensor located behind a Fresnel lens in apower switch can send signals to one or more processors on the powerswitch and/or one or more processes on a remote device via acommunication interface. The signals can be processed to determinewhether the signals are indicative of a non-contact gesture in front ofthe power switch. A non-contact gesture refers to a gesture that isimplemented without touching the power switch.

At (404), the method 400 can include processing the data to identify agesture type. For instance, the data can be processed by one or moreprocessors on the power switch and/or remote from the power switch todetermine whether the data is indicative of a vertical swipe gesture, ahorizontal swipe gesture, a circular swipe gesture, or other gesture.

At (406), the method 400 can include determining a control action basedon the non-contact gesture type. For instance, a look-up table,function, correlation matrix, or other data or model can associate oneor more control action with different gesture types. As an example, avertical swipe can be associated with toggling power on and off to apowered device. A horizontal swipe can be associated with changing amode of operation of the power switch and/or accessing settings for thepower switch. A circular swipe can be associated with, for instance,dimming one or more light sources or controlling power flow to one ormore powered devices (e.g., increasing or decreasing power).

At (408), the method 400 can include implementing the control actionusing the power switch. For instance, the one or more processors in thepower switch can control a power interrupter (e.g., TRIAC) to controlpower delivery to one or more powered devices. The one or moreprocessors can control the power switch to enter a different mode ofoperations (e.g., a passive listening mode to an active listening mode).Other suitable control actions can be implemented without deviating fromthe scope of the present disclosure.

At (410), the method 400 can include providing an indicator associatedwith the control action. For instance, the one or more processors cancontrol one or more LEDs on an LED board to present a light ringindicator (e.g., with various animations) to signify a response to thenon-contact gesture. For instance, a light ring indicator can appear tosignify to the user that the power switch is implementing a controlaction in response to a non-contact gesture.

In some embodiments, a sub portion of the light ring indicator can bedisplayed (e.g., on the rocker button) to be indicative of the dimminglevel and/or other setting (e.g., fan speed). A quarter of the ringlight indicator can be displayed when the light sources are dimmed toabout 25% of full power or fan speed is reduced to about 25% of fullspeed. A half of the light ring indicator can be displayed when thelight sources are dimmed to about 50% of full power or fan speed is atabout 50% of full speed. Three quarters of the light ring indicator canbe displayed when the light sources are dimmed to about 75% of fullpower or fan speed is reduced to about 75% of full speed. The full lightring can be displayed when the light sources are at full power or thefan is operating at full speed.

More particularly, FIGS. 13A, 13B, 13C and 13D depict the exampledisplay of indicators on an in-wall device (e.g., power switch 100)according to example embodiments of the present disclosure. In theexample shown in FIG. 13A, the power switch 100 can be configured todisplay a quarter portion of a light ring indicator 210 when the lightsources are dimmed to a first level or fan speed is at a first speed. Inthe example shown in FIG. 13B, the power switch 100 can be configured todisplay a half portion of a light ring indicator 210 when the lightsources are dimmed to a first level or when the ceiling fan is operatingat a second speed (e.g., medium speed). In the example shown in FIG.13C, the power switch 100 can be configured to display a three-quarterportion of a light ring indicator 210 when the light sources are dimmedto a third level or when the ceiling fan is operating at a third speed(e.g. high speed). In the example shown in FIG. 13D, the power switch100 can be configured to display a full light ring indicator 210 whenthe light sources are operated at full power or when the ceiling fan isoperating at full speed.

Other suitable indicators indicative of operating parameters of thepowered load can be displayed without deviating from the scope of thepresent disclosure. For example, in another embodiment, the power switch100 can be configured to display one-third of a light ring indicator 210when the light sources are dimmed to a first level or when the ceilingfan is operating at a first speed (e.g., low speed). The power switch100 can be configured to display two-thirds of a light ring indicator210 when the light sources are dimmed to a second level or when theceiling fan is operating at a second speed (e.g., medium speed). Thepower switch 100 can be configured to display a full light ringindicator 210 when the light sources are dimmed to a third level (e.g.,full power) or when the ceiling fan is operating at a third speed (e.g.,full speed).

In some embodiments, a user can control dimming of one or more lightsources based on interaction with the light ring indicator 210. Forinstance, a user can touch or place a finger, hand, or other stylus ordevice near the light ring indicator 210. The user can perform a tracingmotion about or near the light ring indicator 210 in a first direction(e.g., clockwise) to increase a dimming level of one or more lightsources powered by the power switch. The user can perform a tracingmotion about or near the light ring indicator 210 in a second direction(e.g., counterclockwise) to decrease dimming level of the one or morelight sources powered by the power switch.

As another example, a user can control fan speed of one or more fanspowered by the power switch based on interaction with the light ringindicator 210. For instance, a user can touch or place a finger, hand,or other stylus or device near the light ring indicator 210. The usercan perform a tracing motion about or near the light ring indicator 210in a first direction (e.g., clockwise) to increase a fan speed of one ormore fans powered by the power switch. The user can perform a tracingmotion about or near the light ring indicator 210 in a second direction(e.g., counterclockwise) to decrease fan speed of one or more fanspowered by the power switch.

FIG. 14 depicts a representation of an example non-contact gesture tocontrol a power switch 100 according to example aspects of the presentdisclosure. For instance, a user can move a hand 502 or other item infront of the power switch 100 in a vertical swipe 510. Signals from aPIR sensor located, for instance, behind a Fresnel lens can be processedto identify the vertical swipe 510. The power switch 100 can togglepower to a powered load based on the vertical swipe 510. For instance, avertical swipe in the up direction can toggle power on to the poweredload. A vertical swipe in the down direction can toggle power off to thepowered load.

FIG. 15 depicts a representation of an example non-contact gesture tocontrol power to a power switch according to example embodiments of thepresent disclosure. For instance, a user can move a hand 502 or otheritem in front of the power switch 100 in a horizontal swipe 520. Signalsfrom a PIR sensor located, for instance, behind a Fresnel lens can beprocessed to identify the horizontal swipe 520. The power switch 100 canchange a mode or operation or access setting of the power switch basedon the horizontal swipe 520. For instance, a left horizontal swipe canchange the power switch from a passive listening mode to an activelistening mode for receipt of one or more voice commands or other datafor use in, for instance, a digital audio assistant service. A rightswipe can allow a user to access settings associated with the powerswitch (e.g., for pairing to other devices, controlling the color of oneor more indicators, etc.). In some embodiments, the setting can beadjusted using voice commands provided from the user after providing thehorizontal swipe.

FIG. 16 depicts a representation of an example non-contact gesture tocontrol power to a power switch according to example embodiments of thepresent disclosure. For instance, a user can move a hand 502 or otheritem in front of the power switch 100 in a circular swipe 530. Signalsfrom a PIR sensor located, for instance, behind a Fresnel lens can beprocessed to identify the circular swipe 530. The power switch 100 canchange adjust a dimming level or other setting (e.g., fan speed) of oneor more powered loads based on the circular swipe 530. For instance, acircular swipe in a clockwise direction can increase a dimming level ofone or more light sources and/or increase fan speed. A circular swipe inthe counterclockwise direction can decrease a dimming level of one ormore light sources and/or decrease a fan speed.

The example non-contact hand gestures in FIGS. 14-16 are provided forpurposes of illustration and discussion. Those of ordinary skill in theart, using the disclosures provided herein, will understand that othersuitable gestures can be used to control the power switch withoutdeviating from the scope of the present disclosure.

FIG. 17 depicts a flow diagram of an example method 600 for operating apower switch according to example embodiments of the present disclosure.The method 600 can be implemented, for instance, using power switch 100and/or one or more aspects of the computing environment 300 of FIG. 11.FIG. 17 depicts steps performed in a particular order for purposes ofillustration and discussion. Those of ordinary skill in the art, usingthe disclosure provided herein, will understand that various steps ofany of the methods described herein can be omitted, expanded to includeother steps, performed simultaneously, rearranged, and/or modified invarious ways without deviating from the scope of the present disclosure.

At (602), the method 600 can include operating the power switch in aspassive mode. In a passive mode, the power switch can be configured toprocess audio data to listen for trigger conditions, such as a voiceprompt command, horizontal swipe and/or a trigger condition associatedwith an out of band condition. In some implementations, audio data isnot recorded, stored, or otherwise processed (except to identify atrigger condition or user presence) when operating in the passive mode.

At (604), the method 600 can include obtaining data from a PIR sensor.For instance, the method 600 can include obtaining one or more signalsfrom a PIR sensor disposed behind a Fresnel lens on the power switch.

At (606), the method 600 can include obtaining data from one or moremicrophones. For instance, the method 600 can include obtaining dataassociated with audio input at a first microphone and data associatedwith audio input at a second microphone.

At (608), the method 600 can include processing the data to determinedata indicative of user presence. For instance, data from PIR sensor canbe processed to identify motion of a user in a space associated with thepower switch. In addition, and/or in the alternative, data from the oneor more microphones can be processed to identify that a user is likelyin a space associated with the power switch due to the presence ofsounds from the user.

In response to determining data indicative of user present, the method600 can include controlling an indicator to signal a user that the powerswitch is ready to receive audio input (e.g., a voice prompt command fortriggering an active listening mode). The indicator can be, forinstance, a light ring displayed on a rocker button of the power switch.As an example, the indicator can be normally off. However, when signalsfrom a PIR sensor and/or one or more microphones are indicative of auser in the space, the indicator can be displayed to signal to the userthat the power switch is ready to receive audio input (e.g., forentering an active listening mode as discussed in more detail below).

At (612), the method 600 can include detecting an active mode triggercondition. According to example aspects of the present disclosure, theactive mode trigger condition can be a voice prompt command. The voiceprompt command can be a preset voice command that when used is intendedto invoke active listening functionality of the power switch. Forinstance, the voice prompt command can be a recognizable term or phrasesuch as “Hello Switch,” “Listen Now”, “Hey Power Device”. In someembodiments, the voice prompt command can be associated with a digitalassistant service, such as digital assistant services provided byAmazon, (“Alexa”), Apple, (“Hey Siri”), Google (“Ok Google”), or otherservices. Other suitable conditions can be used as the active triggermode condition. For instance, the detection of a horizontal swipenon-contact gesture can be an active trigger mode condition.

At (614), the method 600 can include implementing an active listeningmode. The active listening mode can be used to control the power switchvia one or more voice commands. In addition, one or more voice commandscan be used to perform functions ancillary to the power switch, such asfor use in a digital audio assistant service.

FIG. 18 depicts a flow diagram of an example method 700 associated withan active listening mode according to example embodiments of the presentdisclosure. At (712), the power switch can be controlled to listen foraudio data via one or more microphones. In addition, one or moreindicators (e.g., a light ring indicator with animations) can beprovided to the user to signify that the power switch is operating in anactive listening mode.

At (714), the audio data can be processed at the power switch. Forinstance, the audio data can be formatted into one or more data packetsfor communication to a digital audio assistant service.

At (716), the audio data can be communicated to a digital assistantservice (e.g., via an API). In some embodiments, aspects of the digitalassistant service can be implemented locally at the power switch and/orat a device (e.g., a cloud computing system) remote from the digitalassistant service.

The digital assistant service can receive the audio data at (718). Thedigital assistant service can process the audio data using speechrecognition algorithms to identify one or more voice commands from auser at (720).

At (722), the digital assistant service can determine responsive data tothe voice commands. The responsive data can be any data used by thedigital assistant service to respond to the voice commands or otheraudio data. For instance, the responsive data can include a text stringof the voice command provided by the user. The responsive data caninclude data associated with a voice response to be played to a user(e.g., via a speaker in the power switch) to respond to the user's voicecommand. The responsive data can include data responsive to the requestby the user provided via the voice command. For instance, if the userasked for the weather via a voice command, the responsive data caninclude the weather. If a user asked to set a reminder, the responsivedata can include a confirmation that the reminder was set in the user'scalendar. The above examples are provided by way of example. Responsivedata can include data associated with any of a number of diverse actionscapable of being implemented using a digital assistant service. Theresponsive data can be communicated to the power switch at (724).

At (726), the responsive data can be received at the power switch. Theresponsive data can be processed at (730) to determine one or morecontrol actions based on the voice command or audio data received at thepower switch during the active listening mode. The control actions caninclude, for instance, controlling power delivery to one or more powereddevices, playing back a voice response to a user, playing musicrequested by a user, or other suitable control action. For instance, thecontrol action can include adjusting the volume of a television that iscommunicatively coupled with the power switch. Alternatively oradditionally, the control action can include changing the channeldisplayed by the television. The control action can be implemented bythe power switch at (732).

One example application of an active mode of a power switch can be forcontrol of lighting in a space. For instance, a power switch can controlpower delivery to one or more light sources in a space. A user can causethe power switch to enter into an active mode using a preset voicecommand. The power switch can obtain via one or microphones aninstruction from a user to “turn off the lights” when the switch is inthe active mode. The power switch can communicate the audio data to thedigital assistant service. The digital assistant service can process theaudio data using voice recognition and send responsive data associatedwith turning off the lights to the power switch. The power switch canthen control delivery of power to the light sources to turn off thelights. A responsive audio output (e.g., in the form of a human voice)can be provided to the user, such as “turning off lights now.”

Another example application of an active mode of a power switch can befor performing actions ancillary to controlling power deliver to one ormore powered devices. For instance, a user can cause the power switch toenter into an active mode using a preset voice command. The power switchcan obtain via one or microphones an instruction from a user to “tell mewhat the weather is like” when the switch is in the active mode. Thepower switch can communicate the audio data to the digital assistantservice. The digital assistant service can process the audio data usingvoice recognition and send responsive data associated with the currentweather. The power switch can then provide a responsive audio output(e.g., in the form of a human voice) to the user, such as “it is sunnyand 65 degrees.”

FIG. 19 depicts an example lighting system 800 incorporating a pluralityof power switches according to example embodiments of the presentdisclosure. The lighting system 800 includes a plurality of lightingfixtures 802 (e.g., luminaires) operable to provide illumination for aspace 810 (e.g., a room). The lighting system 800 can include a firstpower switch 820 and a second power switch 830. The first power switch820 and/or the second power switch 830 can include one or more aspectsof any of the power switches described here. The first power switch 520can be arranged near a first entrance 812 into the space 810. The secondpower switch 830 can be arranged near a second entrance 814 to the space810.

The first power switch 820 and/or the second power switch 830 can beconfigured to control power delivery to the one or more lightingfixtures 802 (or other powered loads) to control lighting within thespace 810. In some embodiments, the first power switch 820 and thesecond power switch 830 can provide 3-way switch functionality (or othermulti-way switching functionality with other switches present, such as4-way switch functionality).

In an example implementation, the first power switch 820 can be a masterpower switch. The second power switch 830 can be a slave power switchthat is in communication with the first power switch over a wirelesscommunication link 840 (e.g., Bluetooth Low Energy communication link orother suitable communication link). User interaction with the secondpower switch 830 can cause data to be communicated to the first powerswitch 820 over the communication link 840 to control light sources 802.The first power switch 820 can also be configured to communicate withother devices (e.g., user devices, cloud computing systems, servers,etc.) over a second communication link 850 via one or more networks. Auser can interact remotely with the second power switch 830 bycommunicating with the first power switch 820, which then relays dataand other information over communication link 830 to the second powerswitch 830. The relationship between the first power switch 820 and thesecond power switch 830 has been described as a master-slaverelationship. However, other suitable relationships can be used (e.g.,peer-to-peer) without deviating from the scope of the presentdisclosure.

In example embodiments, the first power switch 820 and the second powerswitch 830 can be paired with one another via user interaction with oneor more interface elements of the first power switch 820 and the secondpower switch 830. For instance, in some implementations, a user canmanipulate the second button 124 (FIG. 1) of the first power switch 820.More specifically, the user can move (e.g., pull) the second button 124away from the front panel 105 (FIG. 1). After pulling the second button124 away from the front panel 150, the user can manipulate the firstbutton 122 (FIG. 1) of the first power switch 820. More specifically,the user can press the first button 122 (e.g., pairing button). Then,while still pressing the first button 122, the user can move (e.g.,push) the second button 124 towards the front panel 105. After moving(e.g., pushing) the second button 124 towards the front panel 105, theuser can continue to press the first button 122 until receiving anotification from one or more output devices of the first power switch820. For instance, the user can continue to press the first button 122until the LEDs 174 (FIG. 5) of the LED board 170 included in the firstpower switch 820 flash light having a predetermined color (e.g., blue).

After receiving the notification, the user can perform the same sequenceof steps on the second power switch 830. More specifically, the user canmove (e.g., pull) the second button 124 of the second power switch 830away from the front panel 105 (FIG. 1). After pulling the second button124 away from the front panel 150, the user can press the first button122 (e.g., pairing button) of the second power switch 830. Then, whilestill pressing the first button 122, the user can move (e.g., push) thesecond button 124 towards the front panel 105. After moving (e.g.,pushing) the second button 124 towards the front panel 105, the user cancontinue to press the first button 122 until receiving a notificationfrom one or more output devices of the second power switch 830. Forinstance, the user can continue to press the first button 122 until theLEDs 174 of the LED board 170 included in the second power switch 830flash light having a predetermined color (e.g., blue)

After receiving the notification (e.g., flashing blue light) from thesecond power switch 530, both the first power switch 820 and the secondpower switch 830 can provide a notification (e.g., audible, visible) toindicate that the first power switch 820 and the second power switch 830have been successfully paired with one another. For instance, thenotification can include the speaker 130 associated with the first powerswitch 820 and the speaker 130 associated with the second power switch830 each emitting an audible noise (e.g., beep). More specifically, thespeakers 130 can emit a predetermined number of beeps, such as 5 beeps.Alternatively or additionally, the notification can include the LEDs 174of the first power switch 820 and the LEDs 174 of the second powerswitch 830 flashing a predetermined number of times (e.g., 5 times).More specifically, the LEDs 174 of the first and second power switches820, 830 can flash green light.

Referring again to FIG. 1, the power switch 100 can be configured as aswitch (e.g., fan switch) via user interaction with one or moreinterface elements of the power switch 100. For instance, in someimplementations, a user can manipulate the second button 124 of thepower switch 100 to configure the power switch 100 as a switch. Morespecifically, the user can move (e.g., pull) the second button 124 awayfrom the front panel 105. After pulling the second button 124 away fromthe front panel 105, the user can move the rocker button 110 to a firstposition. Then, while still holding the rocker button 110 in the firstposition, the user can move (e.g., push) the second button 124 towardsthe front panel 105 of the power switch 100. After moving (e.g.,pushing) the second button 124 towards the front panel 105, the user cancontinue to hold the rocker button 110 in the first position for apredetermined amount of time (e.g., 5 seconds) until the power switch100 provides some indicia (e.g., audible, visual) indicatingconfiguration is complete. For instance, the indicia can include anaudible noise (e.g., one or more beeps) emitted via the speaker 130.Alternatively or additionally, the indicia can include the led ring 172(FIG. 5) of the LED board 170 pulsing a predetermined number of times(e.g., 3 times).

In example embodiments, the power switch 100 can be configured as adimmer via user interaction with one or more interface elements of thepower switch 100. For instance, in some implementations, a user canmanipulate the second button 124 of the power switch 100 to configurethe power switch 100 as a dimmer. More specifically, the user can move(e.g., pull) the second button 124 away from the front panel 105. Afterpulling the second button 124 away from the front panel 105, the usercan move the rocker button 110 to a first position. Then, while stillholding the rocker button 110 in the first position, the user can move(e.g., push) the second button 124 towards the front panel 105 of thepower switch 100. After moving (e.g., pushing) the second button 124towards the front panel 105, the user can continue to hold the rockerbutton 110 in the first position for a predetermined amount of time(e.g., 5 seconds) until the power switch 100 provides some indicia(e.g., audible, visual) indicating configuration is complete. Forinstance, the indicia can include an audible noise (e.g., one or morebeeps) via the speaker 130. Alternatively or additionally, the indiciacan include the led ring 172 (FIG. 5) of the LED board (170) pulsingfrom 0% to 100% a predetermined number of times (e.g., 3 times).

In example embodiments, the pairing sequence for enabling communicationsbetween the power switch 100 and the user device 320 can be initiatedwhen a user causes the user device 320 to physically contact the powerswitch 100. More specifically, the user can initiate the pairingsequence by knocking the user device 320 against the power switch 100 apredetermined number of times, such as three times. In this manner,instances in which the user device 320 and the power switch 100 areinadvertently paired with one another can be reduced or eliminated. Insome embodiments, the user may need to press the first button 122 of thepower switch 100 immediately prior to knocking the user device 320against the power switch 100.

In example embodiments, both the power switch 100 and the user device320 can include an accelerometer configured to detect a user knockingthe user device 320 against the power switch 100 to initiate the pairingsequence. More specifically, the one or more processors of the powerswitch 100 can be configured to process data received from theaccelerometer of the power switch 100. Alternatively or additionally,one or more processors of the user device 320 can be configured toprocess data received from the accelerometer of the user device 320. Inthis manner, the physical contact (e.g., knocking) required to initiatethe pairing sequence can be detected by the power switch 100, the userdevice 320, or both the power switch 100 and the user device 320.

In example embodiments, the one or more microphones of the power switch100 can detect audible noise associated with knocking the user device320 against the power switch 100. More specifically, the one or moremicrophones can provide one or more data signals indicative of theaudible noise associated with knocking the user device 320 against thepower switch 100. The one or more processors of the power switch 100 canbe configured to process the data signal(s) to detect the user knockingthe user device 320 against the power switch 100. It should beappreciated that the one or more processors of the power switch 100 canprocess the data signal(s) to recognize the audible noise associatedwith the user knocking the user device 320 against the power switch 100.

Referring now to FIGS. 20 and 21, an example embodiment of a lightblocker 900 is provided according to example embodiments of the presentdisclosure. In some embodiments, the light blocker 900 can be positionedover the LED ring 172 (FIG. 5). When the light blocker 900 is positionedover the LED ring 172, the light blocker 900 can, as will be discussedbelow in more detail, improve the visual appearance of the lightindicator ring 210 (FIG. 7) provided by the LED ring 172.

As shown, the light blocker 900 includes body 910. The body 910 caninclude a first plurality of segments 912 and a second plurality ofsegments 914. In some embodiments, a light transmissivity of the firstplurality of segments 912 can be different than a light transmissivityof the second plurality of segments 914. For example, the lighttransmissivity of the first plurality of segments 912 can be greaterthan the light transmissivity of the second plurality of segments 914.In this manner, more light can pass through the first plurality ofsegments 912 compared to the second plurality of segments 914.

In some embodiments, the first plurality of segments 912 and the secondplurality of segments 914 are arranged in an alternating manner suchthat each segment of the first plurality of segments 912 is positionedbetween two adjacent segments of the second plurality of segments 914.As an example, the first plurality of segments 912 and the secondplurality of segments 914 can be arranged in an alternating manner toform a ring 920. The light blocker 900 can be positioned over the LEDboard 170 (FIG. 5) such that the ring 920 of the body 910 is alignedwith the LED ring 172 (FIG. 5). More specifically, the light blocker 900can be positioned over the LED board 170 such that each segment of thesecond plurality of segments 914 is aligned with one LED of the LED ring172. Since the light transmissivity of the second plurality of segments914 is less than the light transmissivity of the first plurality ofsegments 912, the light blocker 900 can reduce or eliminate hotspots inthe light indicator ring 210. In this manner, the light blocker 900 canimprove the visual appearance of the light indicator ring 210.

In some embodiments, the body 910 of the light blocker 900 can include asection 930 positioned at a center of the ring 920. In this manner, thesection 930 can be aligned with the LED(s) 174 (FIG. 5) positioned atthe center of the LED board 170. In some embodiments, a lighttransmissivity of the section 930 can be different than the lighttransmissivity of the second plurality of segments 914. For example, thelight transmissivity of the section 930 can be greater than the lighttransmissivity of the second plurality of segments 914. Accordingly,more light can pass through the section 930 compared to the secondplurality of segments 914.

In some embodiments, the first plurality of segments 912 can be one ormore apertures defined by the body 910 of the light blocker 900.Alternatively or additionally, the section 930 can be an aperturedefined by the body 910 of the light blocker 900.

It should be appreciated that the in-wall devices of the presentdisclosure can be implemented in any suitable environment. For instance,the in-wall devices can be implemented in one or more rooms of a hotel.In this manner, a guest can control one or more features of a room viathe in-wall devices. For example, the guest can control operation of atelevision via one or more voice commands received at the in-walldevices. As another example, the guest can control operation of one ormore light fixtures in the room.

While the present subject matter has been described in detail withrespect to specific example embodiments thereof, it will be appreciatedthat those skilled in the art, upon attaining an understanding of theforegoing may readily produce alterations to, variations of, andequivalents to such embodiments. Accordingly, the scope of the presentdisclosure is by way of example rather than by way of limitation, andthe subject disclosure does not preclude inclusion of suchmodifications, variations and/or additions to the present subject matteras would be readily apparent to one of ordinary skill in the art.

What is claimed is:
 1. A power switch, comprising: a housing mountableon or at least partially within a surface, the housing having a frontpanel; an interface element disposed on the front panel; a powerinterrupter operable to control power delivery to one or more poweredloads based at least in part on user interaction with the interfaceelement; and one or more processors configured to: obtain dataindicative of one or more non-contact gestures; determine a controlaction based at least in part on the data indicative of the one or morehand gestures; and implement the control action.
 2. The power switch ofclaim 1, wherein the control action comprises a change in an operatingmode of the power switch.
 3. The power switching of claim 2, wherein thechange in the operating mode of the power switch comprises a change froma passive listening mode to an active listening mode.
 4. The powerswitch of claim 3, wherein when the power switch is in the activelistening mode, one or more microphones of the power switch areactivated to obtain data indicative of one or more voice commands spokenby a user.
 5. The power switch of claim 1, wherein the control action isassociated with controlling operation of the power interrupter tocontrol power delivery to the one or more powered loads.
 6. The powerswitch of claim 5, wherein controlling power delivery to the one or morepowered loads comprises toggling power to the one or more powered loads.7. The power switch of claim 1, wherein the power interrupter comprisesa thyristor.
 8. The power switch of claim 1, wherein the data indicativeof one or more non-contact gestures includes data indicative of one ormore hand gestures.
 9. The power switch of claim 8, wherein the dataindicative of one or more hand gestures is obtained via a passiveinfrared sensor of the power switch.
 10. The power switch of claim 1,wherein the one or more processors are further configured to: obtaindata indicative of presence of a user in a space associated with thepower switch; and responsive to obtaining the data indicative ofpresence of the user in the space, control operation of a plurality oflight emitting diode (LED) light sources of the power switch to providean indicator.
 11. The power switch of claim 10, wherein the indicatorsignifies the power switch is ready to receive a voice command.
 12. Thepower switch of claim 1, further comprising: one or more microphonesoperable to obtain audio input; one or more speakers configured toprovide audio output; and a communications interface operable tocommunicate data associated with the audio input over a communicationlink.
 13. The power switch of claim 12, wherein the one or moreprocessors are further configured to: obtain data indicative of theaudio input via the one or more microphones; and provide the dataindicative of the audio input to a digital audio assistant service. 14.A method for operating a power switch, the method comprising: obtaining,by one or more processors of the power switch, data indicative of one ormore non-contact gestures; determining, by the one or more processors, acontrol action based at least in part on the data indicative of the oneor more non-contact gestures; and implementing, by the one or moreprocessors, the control action.
 15. The method of claim 14, wherein thecontrol action includes a change in an operating mode of the powerswitch.
 16. The method of claim 15, wherein the change in the operatingmode of the power switch comprises a change from a passive listeningmode to an active listening mode for receipt of one or more voicecommands spoken by a user.
 17. The method of claim 14, furthercomprising: obtaining, by the one or more processors, data indicative ofpresence of a user in a space associated with the power switch; andresponsive to obtaining the data indicative of presence of the user,controlling, by the one or more processors, operation of a plurality oflight emitting diode (LED) light sources of the power switch to providean indicator to indicate the power switch is ready to receive a voicecommand.
 18. The method of claim 14, further comprising: detecting, bythe one or more processors, an active listening mode trigger condition;and responsive to detecting the active listening mode trigger condition,implementing, by the one or more processors, an active listening mode ofthe power switch.
 19. The method of claim 18, wherein the activelistening mode trigger condition is detected via one or more microphonesof the power switch.
 20. A power switch, comprising: a housing mountableon or at least partially within a surface, the housing having a frontpanel; an interface element disposed on the front panel; a powerinterrupter operable to control power delivery to one or more poweredloads based at least in part on user interaction with the interfaceelement; and one or more processors configured to: obtain dataindicative of presence of a user in a space associated with the powerswitch; determine a control action based at least in part on the dataindicative of presence of the user; and implement the control action.